Optimal. Leaf size=43 \[ -\frac {b+2 c x}{b^2 \left (b x+c x^2\right )}-\frac {2 c \log (x)}{b^3}+\frac {2 c \log (b+c x)}{b^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 43, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {628, 629}
\begin {gather*} -\frac {2 c \log (x)}{b^3}+\frac {2 c \log (b+c x)}{b^3}-\frac {b+2 c x}{b^2 \left (b x+c x^2\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 628
Rule 629
Rubi steps
\begin {align*} \int \frac {1}{\left (b x+c x^2\right )^2} \, dx &=-\frac {b+2 c x}{b^2 \left (b x+c x^2\right )}-\frac {(2 c) \int \frac {1}{b x+c x^2} \, dx}{b^2}\\ &=-\frac {b+2 c x}{b^2 \left (b x+c x^2\right )}-\frac {2 c \log (x)}{b^3}+\frac {2 c \log (b+c x)}{b^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 35, normalized size = 0.81 \begin {gather*} -\frac {b \left (\frac {1}{x}+\frac {c}{b+c x}\right )+2 c \log (x)-2 c \log (b+c x)}{b^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.41, size = 43, normalized size = 1.00
method | result | size |
default | \(-\frac {c}{b^{2} \left (c x +b \right )}+\frac {2 c \ln \left (c x +b \right )}{b^{3}}-\frac {1}{b^{2} x}-\frac {2 c \ln \left (x \right )}{b^{3}}\) | \(43\) |
risch | \(\frac {-\frac {2 c x}{b^{2}}-\frac {1}{b}}{x \left (c x +b \right )}+\frac {2 c \ln \left (-c x -b \right )}{b^{3}}-\frac {2 c \ln \left (x \right )}{b^{3}}\) | \(49\) |
norman | \(\frac {\frac {2 c^{2} x^{2}}{b^{3}}-\frac {1}{b}}{x \left (c x +b \right )}-\frac {2 c \ln \left (x \right )}{b^{3}}+\frac {2 c \ln \left (c x +b \right )}{b^{3}}\) | \(50\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.30, size = 45, normalized size = 1.05 \begin {gather*} -\frac {2 \, c x + b}{b^{2} c x^{2} + b^{3} x} + \frac {2 \, c \log \left (c x + b\right )}{b^{3}} - \frac {2 \, c \log \left (x\right )}{b^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.00, size = 63, normalized size = 1.47 \begin {gather*} -\frac {2 \, b c x + b^{2} - 2 \, {\left (c^{2} x^{2} + b c x\right )} \log \left (c x + b\right ) + 2 \, {\left (c^{2} x^{2} + b c x\right )} \log \left (x\right )}{b^{3} c x^{2} + b^{4} x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.11, size = 37, normalized size = 0.86 \begin {gather*} \frac {- b - 2 c x}{b^{3} x + b^{2} c x^{2}} + \frac {2 c \left (- \log {\left (x \right )} + \log {\left (\frac {b}{c} + x \right )}\right )}{b^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.21, size = 45, normalized size = 1.05 \begin {gather*} \frac {2 \, c \log \left ({\left | c x + b \right |}\right )}{b^{3}} - \frac {2 \, c \log \left ({\left | x \right |}\right )}{b^{3}} - \frac {2 \, c x + b}{{\left (c x^{2} + b x\right )} b^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.10, size = 41, normalized size = 0.95 \begin {gather*} \frac {4\,c\,\mathrm {atanh}\left (\frac {2\,c\,x}{b}+1\right )}{b^3}-\frac {\frac {1}{b}+\frac {2\,c\,x}{b^2}}{c\,x^2+b\,x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________